import request from '@/utils/request'

//获取账号冻结列表
export function getFrozenRecordList(data) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/queryPageList',
		headers: {
			userButton: 'daf112bf2e3442aba8541300f21bf8c8'
		},
		params: data
	})
}

//删除账号冻结记录
export function deleteFrozenRecord(id) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/delete/' + id,
		headers: {
			userButton: '38c500051c5d4209bcdb5bb420252a0b'
		},
	})
}

//修改账号冻结记录
export function updateFrozenRecord(data) {
	return request({
		method: 'post',
		url: 'tbFrozenRecord/update',
		headers: {
			userButton: 'f665cd3a57c542aab848f7d339db30f3'
		},
		data
	})
}

//账号冻结记录详情
export function queryFrozenRecord(id) {
	return request({
		method: 'get',
		url: 'tbFrozenRecord/query/' + id,
		headers: {
			userButton: 'd2898e25abc941cdbf68c660bb7ee5ef'
		},
	})
}